/*package main

import "github.com/gin-gonic/gin"

var secrets = gin.H{
	"foo":    gin.H{"emil":"foo@bar.com","phone":"123333"},
	"austin": gin.H{"email":"austin@example.com","phone":"666"},
    "lena":   gin.H{"email":"lena@guapa.com","phone":"523443"},
}

func main() {
    r := gin.Default()
	authorized := r.Group("/admin",gin.BasicAuth(gin.Accounts{
		"foo":    "bar",
        "austin": "1234",
        "lena":   "hello2",
        "manu":   "4321",
	}))

	authorized.GET("/secrets", Handler)
	r.Run(":8090")
}